export const tableOption = {
  searchMenuSpan: 6,
  columnBtn: false,
  border: true,
  selection: true,
  index: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  menu: true,
  indexFixed: true,
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '下单时间',
    prop: 'createTime'
  }, {
    label: '订单编号',
    prop: 'orderNumber'
  }, {
    label: '产品代码',
    prop: 'code'
  }, {
    label: '左右眼',
    prop: 'leftOrRight',
    dicData: [
      {
        label: '左眼',
        value: 1
      }, {
        label: '右眼',
        value: 2
      }
    ]
  }, {
    label: '球镜',
    prop: 'sph'
  }, {
    label: '柱镜',
    prop: 'cyl'
  }, {
    label: '轴位',
    prop: 'zw'
  }, {
    label: '下加光add',
    prop: 'xjgAdd'
  }, {
    label: '渐进通道',
    prop: 'jjtd'
  }, {
    label: '备注',
    prop: 'remark'
  }, {
    label: '数量',
    prop: 'prodCount'
  }, {
    label: '定制类型',
    prop: 'dzlx',
    dicData: [
      {
        label: '现片',
        value: 1
      }, {
        label: '车房定制片',
        value: 2
      }
    ]
  }, {
    label: '金额',
    prop: 'productTotalAmount'
  }, {
    label: '特殊加工金额',
    prop: 'tsjgAmount'
  }, {
    label: '客户名称',
    prop: 'customer'
  }, {
    label: '客户名称',
    prop: 'customer'
  }, {
    width: 150,
    label: '状态',
    prop: 'status',
    search: true,
    slot: true,
    type: 'select',
    dicData: [
      {
        label: '已取消',
        value: -1
      }, {
        label: '待付款',
        value: 0
      }, {
        label: '待发货',
        value: 1
      }, {
        label: '待收货',
        value: 2
      }, {
        label: '已完成',
        value: 3
      }, {
        label: '付款成功',
        value: 4
      }, {
        label: '待取货',
        value: 5
      }
    ]
  }, {
    label: '日期',
    prop: 'date',
    type: 'date',
    slot: true,
    searchRange: true,
    search: true
  }, {
    label: '客户',
    slot: true,
    prop: 'customer',
    search: true
  }]
}
